package com.guan.serviceStatistics.client;

import com.guan.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Date: 2023/4/25 17:13
 * @Author: 管奇安
 * @Description:
 */
@Component
@FeignClient("service-ucenter")
public interface UcenterClient {

    /**
     * @date: 2023/4/25 17:03
     * @author: 管奇安
     * @description: 查询某一天的注册人数
     * @param: [day]
     * @return: com.guan.commonutils.R
     **/
    @GetMapping(value = "/ucenter/member/countregister/{day}")
    R registerCount(@PathVariable String day);
}
